/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.Comunicator;

import java.util.ArrayList;

/**
 *
 * @author Administrator
 */
public class Parameters<T> extends ArrayList<T>{
    public Parameters(){
        super();
    }

    public Object get(String s){
        Element e = null;
        for(int i = 0; i < size(); i++){
            e = (Element)get(i);
            if(s.equals(e.getTitle()))
                return e.getValue();
        }
        return null;
    }
}
